{#
 This Source Code Form is subject to the terms of the Mozilla Public
 License, v. 2.0. If a copy of the MPL was not distributed with this
 file, You can obtain one at https://mozilla.org/MPL/2.0/.
#}

{# base for 2010 annual report pages #}

{% extends 'base-article.html' %}

{% block page_title_suffix %}{% endblock %}

{% block body_class %}mzp-t-mozilla{% endblock %}

{% set navigation_bar = [
  (url('foundation.annualreport.2010.index'), 'welcome', 'Welcome'),
  (url('foundation.annualreport.2010.opportunities'), 'opportunities', 'Opportunities'),
  (url('foundation.annualreport.2010.people'), 'people', 'People'),
  (url('foundation.annualreport.2010.ahead'), 'ahead', 'Ahead'),
  (url('foundation.annualreport.2010.faq'), 'faq', 'FAQ'),
] %}

{% block side_nav %}
  {{ sidemenu_lists([navigation_bar], body_id) }}
{% endblock %}

{% block article %}
  <header>
    <h1 class="mzp-c-article-title">The Mozilla Foundation</h1>
    {% block article_header %}
      <h2>{{ self.article_title() }}</h2>
    {% endblock %}
  </header>
  {% block article_content %}{% endblock %}
{% endblock %}

{% block email_form %}
  <div class="mzp-l-content">
    <aside class="mzp-c-newsletter t-love">
      <div class="mzp-c-newsletter-image">
        <img src="{{ static('img/newsletter/love-news.svg') }}" alt="" height="172" width="200">
      </div>

      <div class="newsletter-content">
        {% if LANG.startswith('en-') %}
          {{ email_newsletter_form(newsletters='mozilla-foundation', title='Sign up. Read up.<br> Make a difference.'|safe, desc='Get the Mozilla newsletter and help us keep the Web free and open.', button_class='button-red') }}
        {% else %}
          {{ email_newsletter_form(button_class='button-red') }}
        {% endif %}
      </div>
    </aside>
  </div>
{% endblock %}
